View Issue Details

IDProjectCategoryView StatusLast Update
0001203K18X001.00 SKB SWANSWpublic2021-08-18 15:45
Reporter(SW) River WongAssigned To(SW) River WongDue Date
PrioritynormalSeveritys2-severeReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001203: [SWAN][New AMP] I2C command for I2S BCLK Ready
DescriptionHi Wooshin,

I create this mantis for tracking I2C command for A113x I2S BCLK ready check.
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

(SW) River Wong

2021-04-19 16:02

developer   ~0006763

Hi Wooshin,

As I know, you are working with I2C command for A113X I2S BCLK ready. I know you will need time to implement it.
So, for AMP driver implementation, I will add a fixed value to delay AMP driver initialization before you finish this command.
But, I need your help to add the /usr/bin/speaker_process to init.d to measure the delay time the AMP driver needs to delay.
So, please give me a test image that will automatically run /usr/bin/speaker_process when A113X boots.

(ALTech) Wooshin Kang

2021-04-19 16:15

developer   ~0006764

Ok. I will

(SW) River Wong

2021-04-19 18:59

developer   ~0006768

Hi Wooshin,

Our HW will need to do EMC-prescan on 4/21. So, please release the test image by 4/20 noon.

(ALTech) Wooshin Kang

2021-04-19 19:59

developer   ~0006769

Download on below link.
http://altserver01.iptime.org/A113_images/0419/

(ALTech) Wooshin Kang

2021-04-20 08:46

developer   ~0006770

Last edited: 2021-04-20 09:17

Hi River,

Download on below link.
http://altserver01.iptime.org/A113_images/0420/

You can check i2c slave like following command.

BFX-UA300:/ # i2cget -y 0 0x20 0
0x78
BFX-UA300:/ # i2cget -y 0 0x20 1
0x56
BFX-UA300:/ # i2cget -y 0 0x20 2
0x34
BFX-UA300:/ # i2cget -y 0 0x20 3
0x12

If you get other value, A113x is error status.
It is first version, we will update it.

Thanks.

(SW) River Wong

2021-04-20 10:32

developer   ~0006773

Hi Woosin,

I will check these images and feedback to you if any issue is found.

(SW) River Wong

2021-04-20 11:34

developer   ~0006774

Hi Wooshin,

I tested 4/19 and 4/20 images. All has I2S output automatically. And 4/20 image has I2C command support.
I have few suggestions for these images:
1.For the I2C command for BCLK ready, I think one byte to check is enough and no need for 4 bytes response.
2.The boottime of A113X is too long.
Currently I2S output is about 25 seconds after power on. I check the console log, it seems to wait too much time on wlan.
Please also consider to improve the boot up time by removing unused components.
3.You can add a version command on console to quick identify image version. Because you will release more image in the future. It will be easy to check we are using the same image.

(ALTech) Wooshin Kang

2021-04-20 12:07

developer   ~0006775

Hi River,

thanks for you comment.
1. For the I2C command for BCLK ready, I think one byte to check is enough and no need for 4 bytes response.
=> yes i agree but this is temporary version. i will make some protocol or rule how to communication each other.
2. The boottime of A113X is too long
=> It is already fix in my side. you can check it in next version.
3. You can add a version command on console to quick identify image version. Because you will release more image in the future. It will be easy to check we are using the same image.
=> okay, i will change priority of remain jobs.

(SW) River Wong

2021-04-21 11:48

developer   ~0006800

Hi Wooshin,

Could you release your image to me about the fixing bootime for 2?

For the priority of issues, I think the I2S has gaps issue is the most high priority (https://172.18.223.170/vaas/view.php?id=1197).
Because, if before DVT3 you can not fix this issue. Our manufacture will not be able to do some tests about the speaker.
So, please focuse on mantis issue 1197 first.

(ALTech) Lonnie Kim

2021-04-21 16:20

developer   ~0006809

Hi, River

I updated 0001197.
Please refer to 0001197.

Best regards

Lonnie Kim

(SW) River Wong

2021-04-23 09:40

developer   ~0006836

Hi Wooshin,

I tested the 0421 A113x image with manually using i2c command on VS550 console.
It can show 0x55. I will add code to AMP driver. If no problem, I will close this issue.

(SW) River Wong

2021-04-23 10:53

developer   ~0006842

Hi Wooshin,

I add code to AMP driver to check the BCLK ready and I think it is OK.
Please does not change this I2C command address(0) and return value(0x55) in the feature A113X image release.
We need to prepare the code for DVT3 Manufacturing test.

(ALTech) Wooshin Kang

2021-08-18 15:28

developer   ~0007904

Hi River,

It is ok now, close this ticket.

(SW) River Wong

2021-08-18 15:45

developer   ~0007913

ALT already provided the I2C command.

Issue History

Date Modified Username Field Change
2021-04-19 15:59 (SW) River Wong New Issue
2021-04-19 15:59 (SW) River Wong Status new => assigned
2021-04-19 15:59 (SW) River Wong Assigned To => (ALTech) Wooshin Kang
2021-04-19 16:02 (SW) River Wong Note Added: 0006763
2021-04-19 16:15 (ALTech) Wooshin Kang Note Added: 0006764
2021-04-19 18:59 (SW) River Wong Note Added: 0006768
2021-04-19 19:59 (ALTech) Wooshin Kang Note Added: 0006769
2021-04-20 08:46 (ALTech) Wooshin Kang Note Added: 0006770
2021-04-20 09:17 (ALTech) Wooshin Kang Note Edited: 0006770
2021-04-20 10:32 (SW) River Wong Note Added: 0006773
2021-04-20 11:34 (SW) River Wong Note Added: 0006774
2021-04-20 12:07 (ALTech) Wooshin Kang Note Added: 0006775
2021-04-21 11:48 (SW) River Wong Note Added: 0006800
2021-04-21 16:20 (ALTech) Lonnie Kim Note Added: 0006809
2021-04-23 09:40 (SW) River Wong Note Added: 0006836
2021-04-23 10:53 (SW) River Wong Note Added: 0006842
2021-08-18 15:28 (ALTech) Wooshin Kang Note Added: 0007904
2021-08-18 15:28 (ALTech) Wooshin Kang Assigned To (ALTech) Wooshin Kang => (SW) River Wong
2021-08-18 15:45 (SW) River Wong Status assigned => closed
2021-08-18 15:45 (SW) River Wong Resolution open => fixed
2021-08-18 15:45 (SW) River Wong Note Added: 0007913